export function getComponentByUrl(name) {
    return new Promise((resolve) => {
        require.ensure([], function () {
            resolve(require(`./src/${name}.vue`))
        })
    })
}
